package com.diandian.backend.entrance.client;

import com.diandian.backend.entrance.client.dto.third.SkuStockQueryParamDTO;
import com.diandian.base.boot.starter.response.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("third-exchange")
//@FeignClient(value = "business-third-exchange", url = "http://localhost:10005", path = "")
public interface DianDianThirdClient {

    @PostMapping(value = "/sku/stock/query")
    BaseResult skuStockQuery(@RequestBody SkuStockQueryParamDTO param);
}
